package com.huike.business.mapper;

import java.util.List;

import com.huike.business.domain.TbBusiness;
import com.huike.business.domain.TbBusinessTrackRecord;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {

    void add(TbBusinessTrackRecord btr);

    List<TbBusinessTrackRecord> querList(@Param("id") Long id);

    @Select("select dict_label from sys_dict_data where dict_value = #{string} and dict_type = 'communication_point' ")
    String queryDictLabel(@Param("string") String string);
}